<template>
  <div class="register">
    <form class="main">
      <h2 class="wel">欢迎回到猿计划</h2>
      <p><input type="text" placeholder="请输入手机号" name="cellnum"></p>
      <p><input type="text" placeholder="请输入昵称，至少3个字符，至多20个字符"></p>
      <p><input type="text" placeholder="请输入6位以上密码" name="psw"></p>
      <p><input type="text" placeholder="请确认密码" name="psw2"></p>
      <p><input type="text" placeholder="验证码" name="vc"><img src="./vc.png" width="130" height="50" alt=""></p>
      <p><input type="text" placeholder="请输入短信验证码" name="sms"><input type="button" value="获取验证码"></p>
      <p><input type="button" value="注册" name="subm"></p>
    </form>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
  $hheight: 66px;
  $innerwidth: 420px;
  .register {
    position: absolute;
    top: $hheight;
    width: 100%;
    background-color: #efefef;
    user-select:none;
    .main {
      margin: 53px auto;
      width: 693px;
      height: 743px;
      background-color: #ffffff;
      .wel {
        margin: 0 auto 35px;
        width: $innerwidth;
        height: 34px;
        padding-top: 74px;
        line-height: 16px;
        font-size: 16px;
        font-weight: normal;
        text-align: center;
        border-bottom: 1px solid #000;
      }
      p {
        height: 52px;
        width: $innerwidth;
        margin: 0 auto;
        input {
          box-sizing: border-box;
          &:focus {
            outline: none;
          }
        }
      }
      p:nth-child(-n + 5) {
        height: 53px;
        width: $innerwidth;
        margin: 0 auto 30px;
        input {
          display: inline-block;
          box-sizing: border-box;
          padding-left: 10px;
          width: 100%;
          height: 100%;
        }
      }
      p:nth-child(6), p:nth-child(7) {
        margin-top: 34px;
        input[name] {
          box-sizing: border-box;
          padding-left: 10px;
          height: 100%;
          width: 210px;
          margin-right: 15px;
          vertical-align: middle;
        }
        img {
          vertical-align: middle;
          width: 130px;
          height: 100%;
          float: right;
          margin-right: 30px;
        }
        input:last-child {
          width: 150px;
          height: 50px;
          background-color: #46b036;
          border: none;
          cursor: pointer;
          color: #fff;
          float: right;
        }
      }
      p:last-child {
        text-align: center;
        margin-top: 65px;
        input {
          width: 164px;
          height: 34px;
          border: none;
          background-color: #ea0f2d;
          color: #fff;
          border-radius: 15px;
          cursor: pointer;
        }
      }
    }
  }
</style>
<template>
  <div class="register">
    <form class="main">
      <h2 class="wel">欢迎回到猿计划</h2>
      <p><input type="text" placeholder="请输入手机号" name="cellnum"></p>
      <p><input type="text" placeholder="请输入昵称，至少3个字符，至多20个字符"></p>
      <p><input type="text" placeholder="请输入6位以上密码" name="psw"></p>
      <p><input type="text" placeholder="请确认密码" name="psw2"></p>
      <p><input type="text" placeholder="验证码" name="vc"><img src="./vc.png" width="130" height="50" alt=""></p>
      <p><input type="text" placeholder="请输入短信验证码" name="sms"><input type="button" value="获取验证码"></p>
      <p><input type="button" value="注册" name="subm"></p>
    </form>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
  $hheight: 66px;
  $innerwidth: 420px;
  .register {
    position: absolute;
    top: $hheight;
    width: 100%;
    background-color: #efefef;
    user-select:none;
    .main {
      margin: 53px auto;
      width: 693px;
      height: 743px;
      background-color: #ffffff;
      .wel {
        margin: 0 auto 35px;
        width: $innerwidth;
        height: 34px;
        padding-top: 74px;
        line-height: 16px;
        font-size: 16px;
        font-weight: normal;
        text-align: center;
        border-bottom: 1px solid #000;
      }
      p {
        height: 52px;
        width: $innerwidth;
        margin: 0 auto;
        input {
          box-sizing: border-box;
          &:focus {
            outline: none;
          }
        }
      }
      p:nth-child(-n + 5) {
        height: 53px;
        width: $innerwidth;
        margin: 0 auto 30px;
        input {
          display: inline-block;
          box-sizing: border-box;
          padding-left: 10px;
          width: 100%;
          height: 100%;
        }
      }
      p:nth-child(6), p:nth-child(7) {
        margin-top: 34px;
        input[name] {
          box-sizing: border-box;
          padding-left: 10px;
          height: 100%;
          width: 210px;
          margin-right: 15px;
          vertical-align: middle;
        }
        img {
          vertical-align: middle;
          width: 130px;
          height: 100%;
          float: right;
          margin-right: 30px;
        }
        input:last-child {
          width: 150px;
          height: 50px;
          background-color: #46b036;
          border: none;
          cursor: pointer;
          color: #fff;
          float: right;
        }
      }
      p:last-child {
        text-align: center;
        margin-top: 65px;
        input {
          width: 164px;
          height: 34px;
          border: none;
          background-color: #ea0f2d;
          color: #fff;
          border-radius: 15px;
          cursor: pointer;
        }
      }
    }
  }
</style>
